from functools import wraps
import inspect

def Register(id: str, priority: int = 50):
    """
    A decorator for marking classes for registration in the registry.
    
    Args:
        id (str): The identifier for the class.
        priority (int): The priority of the class, default is 50 (Medium).
    """
    def decorator(cls):
        # Adding the id and priority attributes to the class
        cls._register_id = id
        cls._register_priority = priority
        # Registering the class in the registry
        return cls
    return decorator
